<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>有奖答题平台</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <link rel="stylesheet" href="/lib/mobile/css/common.css"/>
    <link rel="stylesheet" href="/lib/mobile/css/knowledge_details.css?0000"/>
</head>
<body>
<div class="main">
    <div class="details_title" id="details_title"></div>
    <div class="details_update" id="details_update">2021年3月5日更新</div>
    <div class="details_text" id="details_text">
    </div>
    <ul class="bottom_menu">
        <li  id="indexsy"><a href="javascript:void(0);">首页</a></li>
        <!--<li>|</li>-->
        <li  id="hdrule"><a href="javascript:void(0);">活动规则</a></li>
        <!--<li  id="point_rule"><a href="javascript:void(0);">积分规则</a></li>-->
        <!--<li>|</li>-->
        <!--<li id="prize_rule"><a href="javascript:void(0);">抽奖规则</a></li>-->
        <!--<li>|</li>-->
        <li id="center"><a href="javascript:void(0);">个人中心</a></li>
    </ul>
</div>
<!-- 依赖库 手机调试的js引用顺序如下 -->
<script src="/lib/mobile/js/zepto.js"></script>
<script src="/lib/mobile/js/plugins/fastclick.js"></script>
<script src="/lib/mobile/js/bui.js"></script>
<script src="/lib/mobile/js/common.js?0000    "></script>
<script type="text/javascript" src="/lib/layuiadmin/layui/layui.js"></script>
<script th:inline="javascript">
    var klist = [[${list}]];
    // console.log(klist);
</script>
<script>
    bui.ready(function () {
        // 这里写业务及控件初始化
        var storage = bui.storage();
        bui.btn({id: ".bui-page", handle: ".bui-btn"}).load();
        var pageview = {};
        pageview.init = function () {
            // 验证码示例
            var uid=storage.get("uid");
            //我的积分
            getPointRuleList();
        }
        pageview.init();
    })
    function getPointRuleList() {
        //执行登录操作
        var html="";
        if(klist.length>0){
            $("#details_text").html(klist[0].content);
            $("#details_title").html(klist[0].hdmc);
            $("#details_update").html(klist[0].cjsjtext);
        }
    }
</script>
</body>
</html>